package com.cloudwise.service.impl;

import com.cloudwise.dao.DeptDao;
import com.cloudwise.entity.Dept;
import com.cloudwise.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：Teacher陈
 * @date ：Created in 2020/12/11 15:07
 * @description：部门业务接口实现类
 * @modified By：
 * @version: 1
 */
@Service
public class DeptServiceImpl  implements DeptService {
    @Autowired
    private DeptDao deptDao;
    @Override
    public List<Dept> findAllDept() {
        return deptDao.findAllDept();
    }
}
